/// 网络套接字地址
#[repr(C)]
#[derive(Debug, Clone, Copy)]
pub struct SockAddr
{
    /// 地址族
    pub family: u16,
    /// 端口
    pub port: u16,
    /// IP
    pub ip: [u8; 4],
    /// 额外数据
    pub zero: [u8; 8],
}

#[cfg(target_os = "windows")]
include!("windows/mod.rs");

#[cfg(target_os = "linux")]
include!("linux/mod.rs");
